package com.mfc.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Admin {
    private Integer id;

    private String email;

    private String phone;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdat;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedat;

    private String userName;

    private Integer gender;

    private Date birthdate;

    private Integer userId;

    private String account;
}
